package net.hn.hnms.biz.api.plan;

import net.hn.hnms.sys.common.core.constant.ServiceNameConstants;
import net.hn.hnms.sys.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;

/**
 * 发运管理接口
 */
@FeignClient(contextId = "RemoteShippedService", value = ServiceNameConstants.MANAGEMENT_SHIPPED_SERVICE,fallback =RemoteShippedServiceFallback.class )
public interface RemoteShippedService {

    @GetMapping("/railroadload/saveRailroadload")
    public R<Boolean> saveRailroadload(@RequestParam("yearTime") String  yearTime,
                                       @RequestParam("yearRealWeight") String  yearRealWeight,
                                       @RequestParam("lastMonthTime") String  lastMonthTime,
                                       @RequestParam("lastMonthSum") String  lastMonthSum,
                                       @RequestParam("dataTime") Date dataTime,
                                       @RequestParam("StringDataTime") String StringDataTime);


}
